{extend name="public:base" /}
{block name="head"}
<link href="__PUBLIC__/view_res/mobile/css/wshop_company_center.css" type="text/css" rel="Stylesheet" />

{/block} 
{block name="header"}
{include file="public/top-nav" /}
{/block}

{block name="content"}
<div class="comspreadstat clearfix">
	<span class="spread-item" style="width:50%;">总积分<b>{$user_info.points|default='0'}</b></span>
	<span class="spread-item" style="width:50%;">已兑换<b>{$user_info.cash_points|default='0'}</b></span>
</div>
<header class="Thead">积分记录</header>
<div id="ulist">            
    {volist name="list" id="p" empty="$empty"}            
        <section class="ulist clearfix">
            <div>{$p.description} <?php if(isset($p['order_id'])){ ?><a style="color:red;margin:0 6px;" href='{:url("order/order_info",array("order_id"=>$p["order_id"]))}'>{$p.order_num_alias}</a><?php } ?>  <?php if($p['prefix']==1){echo '+';}else{echo '-';} ?><?php echo $p['points'].' '.date('Y-m-d',$p['creat_time']); ?> </div>                     
        </section>
    {/volist}
</div>
{/block}

